Skip to content

Fix heartbeat-boot.patch for v4.6.1#14

Merged
jhaineault-aleo merged 1 commit intomainfrom
fix/update-heartbeat-boot-patch
Mar 31, 2026
Merged

Fix heartbeat-boot.patch for v4.6.1#14
jhaineault-aleo merged 1 commit intomainfrom
fix/update-heartbeat-boot-patch

Conversation

@alexk-aleo
Copy link
Copy Markdown
Member

Summary

  • Upstream heartbeat.rs renamed HEARTBEAT_IN_SECSHEARTBEAT_INTERVAL and added new constants (MINIMUM_TIME_BETWEEN_CONNECTION_ATTEMPTS, STARTUP_GRACE_PERIOD), shifting context lines
  • git apply heartbeat-boot.patch fails during boot-patch image build
  • Updated patch context to match current upstream; same 4 value changes preserved

Upstream snarkOS renamed HEARTBEAT_IN_SECS to HEARTBEAT_INTERVAL and
added MINIMUM_TIME_BETWEEN_CONNECTION_ATTEMPTS and STARTUP_GRACE_PERIOD
constants, which shifted context lines and broke git apply.
@alexk-aleo alexk-aleo changed the title Fix heartbeat-boot.patch for upstream changes Fix heartbeat-boot.patch for v4.6.1 Mar 23, 2026
@alexk-aleo
Copy link
Copy Markdown
Member Author

it works with last 4.6.0 release

Copy link
Copy Markdown
Contributor

@jhaineault-aleo jhaineault-aleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vital signs look stable.

@jhaineault-aleo jhaineault-aleo merged commit 15924cc into main Mar 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants